package com.zlx.xBiaoShop.mapper;

import com.zlx.xBiaoShop.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface UserMapper {
    @Update("UPDATE `user` SET `username` = #{username}, " +
            "`email` = #{email}," +
            " `sex` = #{sex}, `telephone` = #{telephone} WHERE `id` = #{id}")
    void updateUserInfo(User user);
}
